* lisp/image-mode.el: Use lexical-binding.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Sep 2012 03:16:35 +0000 (23:16 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Sep 2012 03:16:35 +0000 (23:16 -0400)
commit849b489dee8ca536e9717b9582fe350c773cf9d6
treeb904c7cde5f44235bb02f321be04f0cc64b7764e
parentfa95638a3142763eaaf35b66516d4fcc308d1189
* lisp/image-mode.el: Use lexical-binding.
(image-mode-winprops): Use t to stand for the window of a buffer that's
not displayed.
* lisp/doc-view.el (doc-view-new-window-function): Handle t in winprops.
(doc-view-enlarge): Make it a real nop if the size is not changed.
(doc-view-display): Handle the case where the buffer is not (yet?)
displayed in any window.
(doc-view-saved-settings): New var.
(doc-view-mode): Use it.
(doc-view-fallback-mode): Set it.
lisp/ChangeLog
lisp/doc-view.el
lisp/image-mode.el